From: Paul Eggert Date: Thu, 29 Dec 2011 20:57:11 +0000 (-0800) Subject: Add Bug#. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~1224^2~6 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d82e757a7422dbc1578605e155e337b4fce7f583;p=emacs.git Add Bug#. --- diff --git a/src/ChangeLog b/src/ChangeLog index f89cbc8074f..4363f0eb9ed 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,13 +1,13 @@ 2011-12-29 Paul Eggert - emacs: fix an auto-save permissions race condition + emacs: fix an auto-save permissions race condition (Bug#10400) * fileio.c (auto_saving_dir_umask): New static var. (Fmake_directory_internal): Use it. (do_auto_save_make_dir): Set it, instead of invoking chmod after creating the directory. The old code temporarily assigns too-generous permissions to the directory. (do_auto_save_eh): Clear it. - (Fdo_auto_save): Catch all errrors, not just file errors, so + (Fdo_auto_save): Catch all errors, not just file errors, so that the var is always cleared. 2011-12-28 Kenichi Handa